<template>
  <div class="home">
    <swiper></swiper>
    <div class="ME">
      <icon v-for="(item, index) in icon" :key="index" :title="item.title" :icon="item.icons"></icon>
    </div>
    <p class="all-1">全民砍价></p>

    <p class="all-1">精选专题></p>
    <list />
    <p class="all-1">人气推荐></p>
  </div>
</template>

<script>
import swiper from "../components/swiper/swiper";
import icon from "../components/icon";
import list from "../components/list/list"
export default {
  components: {
    swiper,
    icon,
    list
  },
  data() {
    return {
      icon: [
        {
          icons: "chat-o",
          title: "签到"
        },
        {
          icons: "goods-collect-o",
          title: "礼券"
        },
        {
          icons: "hot-o",
          title: "砍价"
        },
        {
          icons: "cluster",
          title: "专栏"
        }
      ],
    };
  },
  mounted() {
    
  },

};
</script>

<style scoped>
.ME {
  width: 100%;
  height: 1.7rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 0.2rem;
  position: absolute;
  top: 5.88rem;
  border-top-right-radius: 0.5rem;
  border-top-left-radius: 0.5rem;
  text-align: center;
  font-size: 0.4rem;
  color: rgb(133, 240, 107) (126, 66, 66) (129, 70, 70);
  background: white;
}
.all-1 {
  border-bottom: 1px solid;
  text-align: center;
  padding: 0.3rem 0;
  font-size: 0.4rem;
  margin-top: 0.2rem;
}
</style>
